package com.cskaoyan.service;

import com.cskaoyan.bean.Category;
import com.cskaoyan.bean.Goods;
import com.cskaoyan.vo.L1VO;
import com.cskaoyan.vo.LevelCategoryVO;
import com.cskaoyan.wx.vo.GoodsCategoryVO;

import java.util.List;

public interface CategoryService {
    List<LevelCategoryVO> getLeveledList();

    int update(Category category);

    int create(Category category);

    List<L1VO> getL1();

    int delete(Category category);

    GoodsCategoryVO getGoodsCategory(int id);

    List<Goods> getGoods(String keyword, String sort, String order, Integer categoryId, Integer page, Integer size, String username,Integer brandId,Boolean isNew,Boolean isHot);
}
